/*
 * 调用 android 代码
 * */

let native = {};

native.testNative = function(arg){
    cc.log('testNative android');
    let val = jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "callNative", "(I)I", arg);
    cc.log(val)
};

native.testCallback = function(arg){
    cc.log(arg);
};

module.exports = native;